import request from '@/utils/request'

// 查询项目剪影列表
export function listSilhouette(query) {
  return request({
    url: '/fund/silhouette/list',
    method: 'get',
    params: query
  })
}

// 查询项目剪影详细
export function getSilhouette(id) {
  return request({
    url: '/fund/silhouette/' + id,
    method: 'get'
  })
}

// 新增项目剪影
export function addSilhouette(data) {
  return request({
    url: '/fund/silhouette',
    method: 'post',
    data: data
  })
}

// 修改项目剪影
export function updateSilhouette(data) {
  return request({
    url: '/fund/silhouette',
    method: 'put',
    data: data
  })
}

// 删除项目剪影
export function delSilhouette(id) {
  return request({
    url: '/fund/silhouette/' + id,
    method: 'delete'
  })
}
